#!/usr/bin/python

i = 1
while i  < 10:
	print i
	i = i + 1

for i in range(10):
	if i == 2:
		continue
	print i


for i in range(10):
	if i == 2:
		break
	print i


